package org.dfl.core.model;

import java.util.Date;
import java.util.Map;

import org.dfl.core.data.History;
import org.dfl.core.model.transitions.Transition;

/**
 * TransitionFireResult keeps information about each step from a transition run process
 * @author Piotr Wlodarczyk
 *
 */
public class TransitionFireResult {
	public boolean isReadyToRun = false;
	public Throwable exception;
	public Date startTime = new Date();
	public Date endTime = new Date();
	
	public Transition transition;
	public History inputHistory;
	public Map<String, Object> inputData;
	public Object outputData;
	
	
	public TransitionFireResult(Transition transition) {
		super();
		this.transition = transition;
	}
}
